<template>
  <div>
    <el-table :data="tableData" style="width: 100%">
      <el-table-column prop="date" label="日期"></el-table-column>
      <el-table-column prop="name" label="姓名"></el-table-column>
      <el-table-column prop="address" label="地址"></el-table-column>
    </el-table>
    <div class="block">
      <el-pagination :page-size="20" :pager-count="11" layout="prev, pager, next" :total="1000"></el-pagination>
    </div>
  </div>
</template>
<script>
export default {
    methods: {
         loopData(){
             this.$http.get("/api/threesuns/map/loops/current").then(res=>{
                 console.log(res);
             })
         }
    },
    mounted(){
        this.loopData()
    }
};
</script>
<style scoped>
/deep/ .cell {
  text-align: center;
}
.block {
  text-align: center;
}
</style>